翻訳と辞書
Words near each other
・ Linlithgow RFC
・ Linlithgow Rose F.C.
・ Linlithgow Stakes
・ Linlithgow Union Canal Society
・ Linlithgowshire (Parliament of Scotland constituency)
・ Linlithgowshire (UK Parliament constituency)
・ Linlithgowshire by-election, 1913
・ Linlithgowshire by-election, 1928
・ Linlu
・ Linluo
・ Linlyn Lue
・ Linmark Associates, Inc. v. Township of Willingboro
・ Linmeyer
・ Linn
・ Linn (geology)
Linker (computing)
・ Linker DNA
・ Linker of activated T cells
・ Linkeroever
・ Linkers
・ Linkerskopf
・ LinkExchange
・ LinkExpats
・ Linkhim
・ Linki, Pomeranian Voivodeship
・ Linki, Warmian-Masurian Voivodeship
・ Linkiesta
・ Linkin Park
・ Linkin Park discography
・ Linking and intrusive R


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Linker (computing) : ウィキペディア英語版
Linker (computing)

In computing, a linker or link editor is a computer program that takes one or more object files generated by a compiler and combines them into a single executable file, library file, or another object file.
A simpler version that writes its output directly to memory is called the ''loader'', though loading is typically considered a separate process.
== Overview ==

Computer programs typically comprise several parts or modules; these parts/modules need not all be contained within a single object file, and in such cases refer to each other by means of symbols. Typically, an object file can contain three kinds of symbols:
* defined "external" symbols, sometimes called "public" or "entry" symbols, which allow it to be called by other modules,
* undefined "external" symbols, which reference other modules where these symbols are defined, and
* local symbols, used internally within the object file to facilitate relocation.
For most compilers, each object file is the result of compiling one input source code file. When a program comprises multiple object files, the linker combines these files into a unified executable program, resolving the symbols as it goes along.
Linkers can take objects from a collection called a ''library''. Some linkers do not include the whole library in the output; they only include its symbols that are referenced from other object files or libraries. Libraries exist for diverse purposes, and one or more system libraries are usually linked in by default.
The linker also takes care of arranging the objects in a program's address space. This may involve ''relocating'' code that assumes a specific base address to another base. Since a compiler seldom knows where an object will reside, it often assumes a fixed base location (for example, zero). Relocating machine code may involve re-targeting of absolute jumps, loads and stores.
The executable output by the linker may need another relocation pass when it is finally loaded into memory (just before execution). This pass is usually omitted on hardware offering virtual memory: every program is put into its own address space, so there is no conflict even if all programs load at the same base address. This pass may also be omitted if the executable is a position independent executable.
On some Unix variants, such as SINTRAN III, the process performed by a linker (assembling object files into a program) was called ''loading'' (as in loading executable code onto a file).〔''BRF-LINKER User Manual''. ND-60.196.01. 08/84.〕 Additionally, in some operating systems the same program handles both the jobs of linking and loading a program (dynamic linking).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Linker (computing)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.